package com.ruoyi.yljf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 评论点赞表
 */
@Data
@TableName(value = "yljf_comment_like")
public class CommentLike {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createTime;

    /** 评论点赞表主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 用户id */
    @Excel(name = "点赞用户id")
    private Long userId;

    /** 笔记点赞id */
    @Excel(name = "评论id")
    private Long commentId;
}
